export function formateDate(time) {
    if (!time) return ''
  let date = new Date(Number(time))
  return date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate()
    + ' ' + date.getHours() + ':' + date.getMinutes() + ':' + date.getSeconds()
} 